#include <iostream>
using namespace std;
int main ()

{
    int n1, aux;
    int suma;

    suma=0;

    cout << "Ingrese el primer numero" << endl;
    cin >> n1;
    aux = n1-1;

    while (n1>aux)
    {
        suma = suma + n1;
        cout << "La suma es igual a: " << suma << endl;
        aux=n1;
        cin >> n1;
    }


    return 1;
}
